package com.company.LinkList;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}9:37
 */
public class DoubleLinkedBean {
    private String name;
    private int no;
    DoubleLinkedBean next;
    DoubleLinkedBean pre;

    public DoubleLinkedBean() {
    }

    public DoubleLinkedBean(String name, int no) {
        this.name = name;
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }
}
